//
//  LDSTableViewCellViewModel.h
//  LDSMVVMBase
//
//  Created by kai_leedarson on 2017/9/30.
//  Copyright © 2017年 maple_leedarson. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "LDSBaseTableViewCell.h"

@interface LDSTableViewCellViewModel : NSObject

@property(nonatomic, weak)UITableView    *tableView;
@property (nonatomic, assign) Class viewClass;
@property (nonatomic, strong) id model;
@property (nonatomic, assign) NSInteger tag;
@property (nonatomic, readonly, getter=cell) LDSBaseTableViewCell *cell;
@property (nonatomic, readonly, getter=height) CGFloat height;
@property(nonatomic, assign)NSInteger       tableViewCellStyle;
@property(nonatomic, assign)NSInteger       accessoryType;
+ (LDSTableViewCellViewModel *)modelCellWithClass:(Class)vClass
                               model:(id)model;

+ (LDSTableViewCellViewModel *)modelCellWithClass:(Class)vClass
                               model:(id)model tag:(NSInteger)tag;

@end
